package com.ruoyi.hqfinance.service.impl;

import com.ruoyi.hqfinance.domain.HqSolicitor;
import com.ruoyi.hqfinance.mapper.HqSolicitorMapper;
import com.ruoyi.hqfinance.service.HqSolicitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HqSolicitorServiceImpl implements HqSolicitorService {
    @Autowired
    private HqSolicitorMapper hqSolicitorMapper;
    @Override
    public List<HqSolicitor> selectAll() {
        return hqSolicitorMapper.selectAll();
    }

    @Override
    public Boolean insert(HqSolicitor hqSolicitor) {
        return hqSolicitorMapper.insert(hqSolicitor);
    }

    @Override
    public Boolean update(HqSolicitor hqSolicitor) {
        return hqSolicitorMapper.update(hqSolicitor);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return hqSolicitorMapper.deleteById(id);
    }
}
